package com.dstz.bpm.api.model.def;

import java.io.Serializable;

public class NodeProperties implements Serializable {
   public static final String BACK_MODEL_NORMAL = "normal";
   public static final String BACK_MODEL_BACK = "back";
   public static final String BACK_USER_MODEL_HISTORY = "history";
   public static final String BACK_USER_MODEL_NORMAL = "normal";
   private static final long serialVersionUID = -3157546646728816168L;
   private String nodeId = "";
   private String jumpType = "";
   private boolean allowExecutorEmpty = true;
   private String backMode = "normal";
   private String backNode = "";
   private String backUserMode = "history";
   private String freeSelectUser = "no";
   private boolean freeSelectNode = false;

   public String getNodeId() {
      return this.nodeId;
   }

   public void setNodeId(String nodeId) {
      this.nodeId = nodeId;
   }

   public String getJumpType() {
      return this.jumpType;
   }

   public void setJumpType(String jumpType) {
      this.jumpType = jumpType;
   }

   public boolean isAllowExecutorEmpty() {
      return this.allowExecutorEmpty;
   }

   public void setAllowExecutorEmpty(boolean allowExecutorEmpty) {
      this.allowExecutorEmpty = allowExecutorEmpty;
   }

   public String getBackMode() {
      return this.backMode;
   }

   public void setBackMode(String backMode) {
      this.backMode = backMode;
   }

   public String getBackNode() {
      return this.backNode;
   }

   public void setBackNode(String backNode) {
      this.backNode = backNode;
   }

   public String getBackUserMode() {
      return this.backUserMode;
   }

   public boolean isFreeSelectNode() {
      return this.freeSelectNode;
   }

   public void setFreeSelectNode(boolean freeSelectNode) {
      this.freeSelectNode = freeSelectNode;
   }

   public void setBackUserMode(String backUserMode) {
      this.backUserMode = backUserMode;
   }

   public String getFreeSelectUser() {
      return this.freeSelectUser;
   }

   public void setFreeSelectUser(String freeSelectUser) {
      this.freeSelectUser = freeSelectUser;
   }
}
